<?php
    $admin_id     =   $_GET['admin_id'];

    include "db_connect.php";
    $user_delete = "DELETE FROM  `admins` WHERE `id` = $admin_id ";
    if (mysql_query($user_delete))
        header ("location:../admin.php?page=admin_list");
    else {
        mysql_error();
        die("Administrator Delete Failed");
        }


?>